package ar.com.globallogic.promomr.domain;

public class OverAgeContentFilter extends AgeContentFilter {

	public OverAgeContentFilter(Integer maxAge) {
		super(null, maxAge);
	}
	
	@Override
	public boolean passes(User user) {
		if(isUserOverMaxAge(user)){
			return false;
		}
		return this.getNext().passes(user);
	}

}
